/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.compomics.dataprovider.control.logic.storage;

import com.compomics.util.io.FilenameExtensionFilter;
import java.io.File;

/**
 *
 * @author Kenneth
 */
public class SpeciesFolder extends File {

    public SpeciesFolder(String pathname) {
        super(pathname);
    }

    public File[] listFastaFiles() {
        return super.listFiles(new FilenameExtensionFilter("fasta"));
    }

    public File getProcessedFastas() {
        return new File(getParentFile(), "proc");
    }

}
